package org.example.testgis.controller;

import org.example.testgis.entity.PointTest;
import org.example.testgis.service.impl.PointTestServiceImpl;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class HelloController {
    @GetMapping("/hello")
    public String hello() {
        PointTestServiceImpl pointTestService = new PointTestServiceImpl();
        List<PointTest> pointList = pointTestService.selectList(null);
        System.out.println(pointList);
        return "done";
    }
}
